package com.hcbd.tdwt.base.bd;


import com.pangu.bdsdk2021.terminal.TerminalSendManager;

import static java.lang.Thread.sleep;

public class HlctBdSendChild extends BdSendBase{
    @Override
    public void sendMsg(String number, int frePoint, int mode, String content) {
        TerminalSendManager.getInstance().levelThreeGetCCTCQ(number,frePoint,mode,content);
    }


    @Override
    public void getICInfo() {
        TerminalSendManager.getInstance().levelThreeGetCCICR();
    }

    @Override
    public void initBle() {
        super.initBle();
        new Thread(() -> {
            try {
                sleep(500);
                //读卡
                TerminalSendManager.getInstance().levelThreeGetCCICR();
                sleep(1000);
                TerminalSendManager.getInstance().sendFcxDl();
      /*        //设置波束
                sleep(1000);
                TerminalSendManager.getInstance().levelThreeGetCCRMO();*/
                sleep(1000);
                TerminalSendManager.getInstance().levelThreeGetCCICR();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }).start();
    }
}
